﻿using CGT.Infrastructure.Entity;
using CGT.Infrastructure.Enums;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;

namespace CGT.Infrastructure.Dto
{
    public class NetworkOrderDto: NetworkOrder
    {
        /// <summary>
        /// 省名
        /// </summary>
        public string ProvinceName
        {
            get; set;
        }

        /// <summary>
        /// 城市名
        /// </summary>
        public string CityName
        {
            get; set;
        }

        /// <summary>
        /// 分类名
        /// </summary>
        public string BizTypeName
        {
            get; set;
        }

        /// <summary>
        /// 省ID
        /// </summary>
        public int ProvinceId
        {
            get; set;
        }

        /// <summary>
        /// 主类ID
        /// </summary>
        public int MasterBizTypeId
        {
            get; set;
        }
        /// <summary>
        /// 订单状态
        /// </summary>
        public string OrderStatusName
        {
            get
            {
                return OF.Utility.EnumHelper.GetEnumDesc(typeof(OrderStateEnum), OrderState);
            }
        }

        /// <summary>
        /// 支付状态
        /// </summary>
        public string PayStatusName
        {
            get
            {
                return OF.Utility.EnumHelper.GetEnumDesc(typeof(PayStateEnum), PayState);
            }
        }

    }
}
